package org.common.strategy1;

import org.springframework.beans.factory.InitializingBean;

/**
 * ClassName: StrategyFactory
 * Package: org.common.strategy
 * Description:
 *
 * @Author: @weixueshi
 * @Create: 2024/7/19 - 21:37
 * @Version: v1.0
 */

/**
 * 策略工厂
 */
public interface StrategyFactory extends InitializingBean {
    /**
     * 获取支付策略
     * @param payType 支付类型
     * @return 支付策略
     */
    void pay(String payType);
}
